package com.example.myworkers.dao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.example.myworkers.model.Labor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author 门硕然
* @description 针对表【labor】的数据库操作Mapper
* @createDate 2023-10-27 10:00:05
* @Entity com.example.myworkers.model.Labor
*/

@Mapper
public interface LaborMapper extends BaseMapper<Labor> {
    int insertSelective(Labor labor);

    int delByLaborid(@Param("laborid") Integer laborid);

    int updateSelective(Labor labor);

    Labor selectOneByLaborid(@Param("laborid") Integer laborid);

    int deleteByGoodsid(@Param("goodsid") Integer goodsid);

}




